<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<include file="./Home/Tpl/Admin/Common/cssjs.html" />
</head>
<body>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<div class="subnav">
  <div class="content-menu ib-a blue line-x">
   <a href="javascript:;" class="on"><em>模板编辑</em></a>
  </div>
</div>
<div class="pad-lr-10">
  <div class="table-list">
    <form name="myform" id="myform" action="{:U("Template/Style/edit_file")}" method="post">
      <table cellpadding="0" cellspacing="0" class="table_form" width="100%">
        <tbody>
          <tr>
            <td width="120">文件名称</td>
            <td><input type="text" class="input-text" validate="required:true, minlength:2, maxlength:30"  value="{$file}" readonly="readonly"></td>
          </tr>
          <tr>
            <td>内容</td>
            <td><textarea id="content" name="content" style="width:95%; height:400px" validate="required:true, minlength:4" class="valid">{$content}</textarea></td>
          </tr>
        </tbody>
      </table>
      <div class="btn">
        <input type="hidden" name="dir" value="{$dir}" />
        <input type="hidden" name="file" value="{$file}" />
        <input type="submit" name="dosubmit" value="提交" class="button">
        <input type="reset" value="取消" class="button">
      </div>
    </form>
  </div>
</div>
</body>
</html>